SetDataErrorOn
Definition:
SetDataErrorOn()
Description:
Turn data error reporting on.
Platforms:
All
Parameters:
none
Returns:
nothing
Notes:
The behaviour of this Method depends on the value in the application-level Property Enable Script Error Handling.
If Enable Script Error Handling is set to False, calling SetDataErrorOn causes any Data errors, which occur at runtime, to stop execution of the current Script and to display a message box to the user describing the error. Data errors include comms errors and errors relating to uploading and downloading data.
If Enable Script Error Handling is set to True, calling SetDataErrorOn is equivalent to calling the Scripting Statement On Error GoTo 0 and covers a broader range of error messages than when the Property is set to False.
See also:
Runtime Error Handling and Debugging